Enhancing Semantic Code Search with Deep Graph Matching
نویسندگان
چکیده
The job of discovering appropriate code snippets against a natural language query is an important task for software developers. Appropriate retrieval increases productivity and quality as well. In contrast to traditional information techniques, search necessitates bridging the semantic breach between programming languages fragments. Deep neural networks codes have recently been hot topic in research. standard quest approaches present source form text independent embedding, then calculate similarity them using vector distance (e.g., cosine similarity). Although recent research utilized during search, it overlooked contained rich deep structural features them. this study, we are also dealing with problem by providing solution that facilitates developers development. Our proposed model effectively used graph matching searching approach retrieval. It first converts both fragments format module facilitate process will retrieve best-matched snippets. not only exploits enriched meanings features, but uses cross-attention mechanism learn fine-grained exists code. model’s evaluation done Codesearchnet dataset six representative languages. provides comparatively good results compared existing baselines. enables users find required snippets, ranking top 10 results. accuracy system approximately 97%.
منابع مشابه
Semantic Search Based Qaal System Using Qgt Graph Matching with Semantic Similarity
The second phase of QA system is the query processing model in which the given query is matched with the terms used in ontology by using semantic pattern matching type. In question classification model, the given question is converted into query form and the answer is tested by using Q2Q algorithm. But, semantic pattern type of matching is not processed in it. In this chapter, pattern matching ...
متن کاملSemantic Matching in Search
In this talk, we will give a high level introduction to our book entitled “Semantic Matching in Search”, which was published recently in Foundations and Trends in Information Retrieval [1]. We will start our talk by pointing out the importance of semantic matching for natural language processing and information retrieval. Most of the tasks in natural language processing and information retrieva...
متن کاملEnhancing Web Search with Heterogeneous Semantic Knowledge
This paper explores four kinds of semantic knowledge to improve keyword-based Web search, including thesauruses, categories, ontologies, and social annotations. These heterogeneous semantic knowledge represent meanings of Web information, thus they can be used to improve search results in respect of semantic relevance. Currently, different semantic search paradigms have been developed for diffe...
متن کاملEnhancing Hotel Search with Semantic Web Technologies
Tourism service providers are more and more under pressure to offer products of greater complexity and diversity to meet the ever-changing demands of travelers; the individualistic consumption patterns and lifestyles makes it increasingly difficult for tourist service providers to anticipate consumer behavior and configure their services accordingly, i.e. the tourist industry must focus more on...
متن کاملRepairing Programs with Semantic Code Search
Automated program repair can potentially reduce debugging costs and improve software quality but recent studies have drawn attention to shortcomings in the quality of automatically generated repairs. We propose a new kind of repair that uses the large body of existing open-source code to find potential fixes. The key challenges lie in efficiently finding code semantically similar (but not ident...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: IEEE Access
سال: 2023
ISSN: ['2169-3536']
DOI: https://doi.org/10.1109/access.2023.3263878